<!DOCTYPE html>
<html lang="en-us" ng-app="alumnus">
	<head>
		<meta charset="utf-8">
		<!--<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">-->

		<title> SmartAdmin </title>
		<meta name="description" content="">
		<meta name="author" content="">

		<!-- Use the correct meta names below for your web application
			 Ref: http://davidbcalhoun.com/2010/viewport-metatag 
			 
		<meta name="HandheldFriendly" content="True">
		<meta name="MobileOptimized" content="320">-->
		
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

		<!-- Basic Styles -->
		<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap.min.css">
		<link rel="stylesheet" type="text/css" media="screen" href="css/font-awesome.min.css">

		<!-- SmartAdmin Styles : Please note (smartadmin-production.css) was created using LESS variables -->
		<link rel="stylesheet" type="text/css" media="screen" href="css/smartadmin-production.css">
		<link rel="stylesheet" type="text/css" media="screen" href="css/smartadmin-skins.css">

		<!-- SmartAdmin RTL Support is under construction
		<link rel="stylesheet" type="text/css" media="screen" href="css/smartadmin-rtl.css"> -->

		<!-- We recommend you use "your_style.css" to override SmartAdmin
		specific styles this will also ensure you retrain your customization
		with each SmartAdmin update.
		<link rel="stylesheet" type="text/css" media="screen" href="css/demo.css"> -->

		<!-- Demo purpose only: goes with demo.js, you can delete this css when designing your own WebApp -->
		<link rel="stylesheet" type="text/css" media="screen" href="css/demo.css">

		<!-- FAVICONS -->
		<link rel="shortcut icon" href="img/favicon/favicon.ico" type="image/x-icon">
		<link rel="icon" href="img/favicon/favicon.ico" type="image/x-icon">

		<!-- GOOGLE FONT -->
		<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,300,400,700"> -->

	</head>
	<body>
		<!-- possible classes: minified, fixed-ribbon, fixed-header, fixed-width-->

		<!-- MAIN PANEL -->
		<div id="main" role="main">

			<!-- MAIN CONTENT -->
			<div id="content">
				
				<!-- widget grid -->
				<section id="widget-grid" class="">
				
					<!-- row -->
					<div class="row">
				
						<!-- NEW WIDGET START -->
						<article ng-controller="combinationFindIndexController">


							<div class="jarviswidget jarviswidget-color-blueDark">
								<header>
									<span class="widget-icon"> <i class="fa fa-filter"></i> </span>
									<h2>查询</h2>
								</header>
								<div class="widget-body">
									<div class='row' ng-repeat="ins in comb.instances">
										<div class="col-sm-2">
											<select ng-model="selection" class="form-control" ng-change="ins.addType(selection)">
												<option ng-repeat="field in ins.fields" value="{{field.name}}"> {{field.title}}</option>
											</select>
										</div>
										<div class="col-sm-4">
											<div class="input-group" ng-switch on="ins.type">
												<input class="form-control" type="text" 
													ng-blur="comb.change($event , selection)"  
													ng-switch-default/>

												<div class="input-group-btn">
													<button type="button" class="btn btn-default" 
														ng-click="comb.minus($index , selection)"
														ng-show="$index < comb.instances.length -1 "> 
														<i class="fa fa-minus"></i>
													</button>
													<button type="button" class="btn btn-default" 
														ng-click="comb.add()"
														ng-show="$index == comb.instances.length -1 "> 
														<i class="fa fa-plus"></i>
													</button>
												</div>
											</div>
										</form> 

									<!-- 	<form action="php/demo-comment.php" method="post" id="comment-form" class="smart-form" novalidate="novalidate">


							<fieldset>
								<div class="row">
									<section class="col col-2">
										<label class="label">Name</label>
										<label class="input"> <i class="icon-append fa fa-user"></i>
											<input type="text" name="name">
										</label>
									</section>
									<section class="col col-2">
										<label class="label">E-mail</label>
										<label class="input"> <i class="icon-append fa fa-envelope-o"></i>
											<input type="email" name="email">
										</label>
									</section>
									<section class="col col-2">
										<label class="label">Website</label>
										<label class="input"> <i class="icon-append fa fa-globe"></i>
											<input type="url" name="url">
										</label>
									</section>

									<section class="col col-2">
										<label class="label">Name</label>
										<label class="input"> <i class="icon-append fa fa-user"></i>
											<input type="text" name="name">
										</label>
									</section>
									<section class="col col-2">
										<label class="label">E-mail</label>
										<label class="input"> <i class="icon-append fa fa-envelope-o"></i>
											<input type="email" name="email">
										</label>
									</section>
									<section class="col col-2">
										<label class="label">Website</label>
										<label class="input"> <i class="icon-append fa fa-globe"></i>
											<input type="url" name="url">
										</label>
									</section>
								</div>
										<div class="row">
									<section class="col col-2">
										<label class="label">Name</label>
										<label class="input"> <i class="icon-append fa fa-user"></i>
											<input type="text" name="name">
										</label>
									</section>
									<section class="col col-2">
										<label class="label">E-mail</label>
										<label class="input"> <i class="icon-append fa fa-envelope-o"></i>
											<input type="email" name="email">
										</label>
									</section>
									<section class="col col-2">
										<label class="label">Website</label>
										<label class="input"> <i class="icon-append fa fa-globe"></i>
											<input type="url" name="url">
										</label>
									</section>

									<section class="col col-2">
										<label class="label">Name</label>
										<label class="input"> <i class="icon-append fa fa-user"></i>
											<input type="text" name="name">
										</label>
									</section>
									<section class="col col-2">
										<label class="label">E-mail</label>
										<label class="input"> <i class="icon-append fa fa-envelope-o"></i>
											<input type="email" name="email">
										</label>
									</section>
									<section class="col col-2">
										<label class="label">Website</label>
										<label class="input"> <i class="icon-append fa fa-globe"></i>
											<input type="url" name="url">
										</label>
									</section>
								</div>
										<div class="row">
									<section class="col col-2">
										<label class="label">Name</label>
										<label class="input"> <i class="icon-append fa fa-user"></i>
											<input type="text" name="name">
										</label>
									</section>
									<section class="col col-2">
										<label class="label">E-mail</label>
										<label class="input"> <i class="icon-append fa fa-envelope-o"></i>
											<input type="email" name="email">
										</label>
									</section>
									<section class="col col-2">
										<label class="label">Website</label>
										<label class="input"> <i class="icon-append fa fa-globe"></i>
											<input type="url" name="url">
										</label>
									</section>

									<section class="col col-2">
										<label class="label">Name</label>
										<label class="input"> <i class="icon-append fa fa-user"></i>
											<input type="text" name="name">
										</label>
									</section>
									<section class="col col-2">
										<label class="label">E-mail</label>
										<label class="input"> <i class="icon-append fa fa-envelope-o"></i>
											<input type="email" name="email">
										</label>
									</section>
									<section class="col col-2">
										<label class="label">Website</label>
										<label class="input"> <i class="icon-append fa fa-globe"></i>
											<input type="url" name="url">
										</label>
									</section>
								</div>
							</fieldset> -->

							<footer>
								<button type="submit" name="submit" class="btn btn-primary">
									Validate Form
								</button>
							</footer>

							<div class="message">
								<i class="fa fa-check fa-lg"></i>
								<p>
									Your comment was successfully added!
								</p>
							</div>
						</form>
									</div>

								</div>
							</div>


				
						</article>
						<!-- WIDGET END -->
				
					</div>
				
					<!-- end row -->
				
				</section>
				<!-- end widget grid -->

			</div>
			<!-- END MAIN CONTENT -->

		</div>
		<!-- END MAIN PANEL -->

		<!--================================================== -->



		<!-- PACE LOADER - turn this on if you want ajax loading to show (caution: uses lots of memory on iDevices)-->
	<!-- 	// <script data-pace-options='{ "restartOnRequestAfter": true }' src="js/plugin/pace/pace.min.js"></script> -->

		<!-- JS TOUCH : include this plugin for mobile drag / drop touch events
		<script src="js/plugin/jquery-touch/jquery.ui.touch-punch.min.js"></script> -->

		<script src="js/libs/jquery-2.0.2.min.js"></script>
		<!-- // <script src="js/libs/jquery-ui-1.10.3.min.js"></script> -->
		<script src="js/bootstrap/bootstrap.min.js"></script>
	<!-- 	// <script src="js/notification/SmartNotification.min.js"></script>
		// <script src="js/smartwidgets/jarvis.widget.min.js"></script>
		// <script src="js/plugin/easy-pie-chart/jquery.easy-pie-chart.min.js"></script>
		// <script src="js/plugin/sparkline/jquery.sparkline.min.js"></script>
		// <script src="js/plugin/jquery-validate/jquery.validate.min.js"></script>
		// <script src="js/plugin/masked-input/jquery.maskedinput.min.js"></script>
		// <script src="js/plugin/select2/select2.min.js"></script>
		// <script src="js/plugin/bootstrap-slider/bootstrap-slider.min.js"></script>
		// <script src="js/plugin/msie-fix/jquery.mb.browser.min.js"></script>
		// <script src="js/plugin/smartclick/smartclick.js"></script> -->

		<!--[if IE 7]>

		<h1>Your browser is out of date, please update your browser by going to www.microsoft.com/download</h1>

		<![endif]-->

		<!-- PAGE RELATED PLUGIN(S) -->
		// <!-- <script src="js/plugin/datatables/jquery.dataTables-cust.min.js"></script>
		// <script src="js/plugin/datatables/ColReorder.min.js"></script>
		// <script src="js/plugin/datatables/FixedColumns.min.js"></script>
		// <script src="js/plugin/datatables/ColVis.min.js"></script>
		// <script src="js/plugin/datatables/ZeroClipboard.js"></script>
		// <script src="js/plugin/datatables/media/js/TableTools.min.js"></script>
		// <script src="js/plugin/datatables/DT_bootstrap.js"></script> -->

		<script type="text/javascript" src="js/angular/angular.min.js"></script>
		<script type="text/javascript" src="js/class.js"></script>
		<script type="text/javascript" src="js/app-comb.js"></script>
	</body>

</html>